import java.util.Arrays;
import java.util.List;

public class Array_list {
    public static void main(String[] args) {
        String[] array = {"A","B","C","D"};

        //数组转为列表
        List<String> list = Arrays.asList(array);

        System.out.println("列表内容:"+ list);
    }
}
